#silverstripe IRC Log

IRC log for 22 December 2014

All timestamps are in UTC.

1: [00:17:30] * Azure has joined #silverstripe
2: [00:31:06] * spronk2 has joined #silverstripe
3: [00:33:18] * origincube has joined #silverstripe
4: [00:34:17] <origincube> any idea what this error means: Cookie 'alc_enc' can't be set. The site started outputting content at line 15 in /homestarbee1/public_html/_ss_environment.php
5: [00:34:40] * Olliepop quit (Ping timeout: 246 seconds)
6: [00:35:01] * novaweb quit (Quit: Leaving)
7: [00:35:03] * Olliepop has joined #silverstripe
8: [00:35:21] <simon_w> origincube, you're outputting from your _ss_environment file. Don't do that.
9: [00:35:31] <origincube> i'm not though
10: [00:35:37] <origincube> its a copy of the environment file i use locally
11: [00:35:39] <simon_w> Yes you are
12: [00:35:46] <simon_w> On line 15
13: [00:35:51] <origincube> there is no line 15
14: [00:36:09] <simon_w> Yes there is
15: [00:36:34] <origincube> would trailing white space cause that?
16: [00:36:39] <simon_w> Yes
17: [00:36:56] <origincube> sneaky white space
18: [00:36:57] <origincube> grr
19: [00:36:58] <origincube> thanks ;)
20: [00:36:58] <simon_w> (And this is why ?> is a really bad thing)
21: [00:42:32] <origincube> hehe
22: [00:42:41] <origincube> better to just leave it out?
23: [00:57:53] <simon_w> Yup
24: [01:00:09] * travis-ci has joined #silverstripe
25: [01:00:10] <travis-ci> silverstripe/silverstripe-framework#3804 (3.1 - 8b0bcd9 : Loz Calver): The build passed.
26: [01:00:10] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/5a48501def05...8b0bcd93e8bc
27: [01:00:10] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/44778168
28: [01:00:10] * travis-ci has left #silverstripe
29: [01:01:21] <spronk2> baahhh
30: [01:02:55] <simon_w> Oh no, what has spronk2 done?
31: [01:03:02] <spronk2> nothing
32: [01:03:03] * spronk2 is just back
33: [01:03:12] <simon_w> Oh, okay then
34: [01:04:24] * simon_w is still on holiday until tomorrow
35: [01:11:48] <MichalKleiner> and then back to work? :-D
36: [01:11:54] <simon_w> Yup
37: [01:11:59] <MichalKleiner> whaaat
38: [01:12:09] <MichalKleiner> I'm at work until tomorrow
39: [01:12:15] * origincube has left #silverstripe
40: [01:12:16] <MichalKleiner> then back on the 7th
41: [01:14:06] <simon_w> I'm working over the break
42: [01:24:40] <spronk2> dewd
43: [01:33:52] * jedateach has joined #silverstripe
44: [01:38:02] * jedateach has left #silverstripe
45: [02:00:07] <mobiusnz> when removing a field and migrating data away from it using a BuildTask, what's the best way to access the old database column, given it isn't in $db anymore?
46: [02:01:54] <simon_w> mobiusnz, DB::query('UPDATE "table" SET "NewColumn" = "OldColumn"); ?
47: [02:02:44] * r_hector has joined #silverstripe
48: [02:09:37] * mpodolian has joined #silverstripe
49: [02:11:07] * veb has joined #silverstripe
50: [02:11:08] * veb quit (Changing host)
51: [02:11:08] * veb has joined #silverstripe
52: [02:11:33] * veb waves n stuff
53: [02:11:36] <mobiusnz> simon_w: not quite a straight swap, moving from Varchar to related object, and finding or creating the object by the Name
54: [02:14:06] <mobiusnz> so looking more for something like $newName = $someobj->db('OldColumn')
55: [02:21:39] * camfindlay has joined #silverstripe
56: [02:22:04] * camfindlay quit (Changing host)
57: [02:22:04] * camfindlay has joined #silverstripe
58: [03:02:01] * mpodolian quit (Ping timeout: 246 seconds)
59: [03:06:18] * mpodolian has joined #silverstripe
60: [03:06:55] * pippy quit (Ping timeout: 246 seconds)
61: [03:15:49] * Ryan-Toast quit (Quit: Ryan-Toast)
62: [03:16:28] <mpodolian> Hi everyone. A quick question: has anyone done validation with the restfulserver module? github.com/silverstripe/silverstripe-restfulserver
63: [03:20:49] * pippy has joined #silverstripe
64: [03:31:41] <MichalKleiner> mpodolian: like ajax asking for existing dataobject or what usecase are you imagining?
65: [03:37:23] <mpodolian> MichalKleiner: No, we are developing a rest API that will be consumed for a third party and need to make sure that the data that they are passing us is in correct format
66: [03:40:04] <MichalKleiner> to answer the question: I haven't done any validation. But - have a look at apiary.io, if you haven't hear about it.. I believe it can function also as a API proxy that can validate data..
67: [03:40:44] <mpodolian> MichalKleiner: will do; thanks
68: [03:41:15] <MichalKleiner> what type of data are you receiving through the API? I mean it'll be JSON probably, but what types are included.. you can have XML in JSON for complex structures and validate it against some manifest..
69: [03:41:53] <MichalKleiner> or.. for numbers, strings, emails etc there are functions or regex for validation
70: [03:42:08] <MichalKleiner> but that has to be coded based on the datamodel
71: [03:42:11] <MichalKleiner> just thinking
72: [03:44:08] <mpodolian> MichalKleiner: Validating inside the DataObjects is not a good solution as we want to send a proper error message with a status code back, rather than just dying. As a result, need to hook into the index method of the RestfulServer.
73: [03:57:06] * veb quit (Quit: veb-irc: &)
74: [03:59:46] * spronk2 quit (Quit: I may need a longer sleep timer...)
75: [04:03:51] <matt-in-a-hat> If I have a bunch of content (css, js, templates etc) that is common between more than 1 theme, should I just put them in my mysite module folder? Then have the differing content in the theme folders?
76: [04:04:53] * spekulatius quit (Remote host closed the connection)
77: [04:08:01] * MrGuits quit (Read error: Connection reset by peer)
78: [04:08:27] * MrGuits has joined #silverstripe
79: [04:18:12] * r_hector quit (Quit: Leaving.)
80: [04:20:04] * mpodolian quit (Ping timeout: 246 seconds)
81: [04:36:29] * Ryan-Toast has joined #silverstripe
82: [04:36:59] * Ryan-Toast quit (Client Quit)
83: [04:50:53] * matt-in-a-hat quit (Ping timeout: 240 seconds)
84: [04:53:47] * Stomach has joined #silverstripe
85: [04:56:22] * mobiusnz quit (Quit: Leaving.)
86: [04:58:23] * Stomach quit (Ping timeout: 240 seconds)
87: [05:05:55] * pippy quit (Ping timeout: 246 seconds)
88: [05:11:05] * eagles0513875 quit (Ping timeout: 240 seconds)
89: [05:11:05] * mobiusnz has joined #silverstripe
90: [05:11:06] * Stomach has joined #silverstripe
91: [05:12:02] <camfindlay> matt-in-a-hat - yip that is correct, though it’s going to depend on how to split up what is generic vs what is specific to a theme
92: [05:12:44] <camfindlay> also remember that templates in mysite will override tempaltes in theme folder AND templates in module template folders
93: [05:12:49] * eagles0513875 has joined #silverstripe
94: [05:54:13] <Snowman23> Oh my god, dominos is doing lava cakes with candy in them
95: [05:59:11] * camfindlay quit (Quit: camfindlay)
96: [06:22:14] * veb has joined #silverstripe
97: [06:52:35] * Shrike_Finland has joined #silverstripe
98: [07:29:33] * jyrkilil1a is now known as jyrkililja
99: [07:37:00] * gordon has joined #silverstripe
100: [07:37:07] * gordon is now known as elgrodo
101: [07:38:49] * veb quit (Quit: veb-irc: &)
102: [08:02:36] * jedateach has joined #silverstripe
103: [08:07:14] * stefanovic72 has joined #silverstripe
104: [08:16:29] <stefanovic72> Hello, I get an error when I add a gridfield to a tab and I don't know what the cause is.
105: [08:16:39] <stefanovic72> I hope someone can help me
106: [08:16:46] <stefanovic72> What I do is the following:
107: [08:16:54] <stefanovic72> I create a subclass of LeftAndMain. This subclass is called 'SettingsAdmin'. Within the SettingsAdmin class I create a tabset (in the function getEditForm).
108: [08:17:08] <stefanovic72> After creating the tabset I create a new gridfield and add this gridfield to one of the tabs. I get this error: Call to a member function FormAction() on a non-object in....
109: [08:17:18] <stefanovic72> I posted this question in the forum but didn't get a response so far. You can see the code here: http://www.silverstripe.org/community/forums/form-questions/show/92568
110: [08:18:52] * wmk has joined #silverstripe
111: [08:20:16] <Zauberfisch> stefanovic72: you are confusing getEditForm with getCMSFields
112: [08:20:22] * Eliseth has joined #silverstripe
113: [08:20:35] <Zauberfisch> stefanovic72: as the name says, getEditForm wants a Form, getCMSFields wants field to be returned
114: [08:20:38] <Zauberfisch> *fields
115: [08:21:07] <Zauberfisch> stefanovic72: as far as I can see, you return a FieldList, but getEditForm should return a Form
116: [08:21:29] <Eliseth> Morning
117: [08:21:45] <stefanovic72> aha. That's clear...Thanks zauberfisch
118: [08:21:45] * wmk just had the WTF of the year
119: [08:23:11] <Zauberfisch> stefanovic72: look at the class ModelAdmin or CMSSettingsController for examples
120: [08:23:28] <Zauberfisch> CMSSettingsController is the LeftAndMain that handles SiteConfig
121: [08:23:32] <wmk> why cannot a company with millions of sales make a redirection from company.TLD to company.com
122: [08:24:24] <wmk> .TLD just shows hetzner admin console
123: [08:24:53] <Zauberfisch> wmk: not sure I follow
124: [08:24:58] <stefanovic72> ok, thanks for pinting me in the right direction
125: [08:25:16] <Zauberfisch> also, good morning everyone
126: [08:25:46] * mahfuz quit (Ping timeout: 246 seconds)
127: [08:26:32] <wmk> gooood moooorrrrnnniiiiiiiiing
128: [08:26:43] <Zauberfisch> stefanovic72: np. once you solve your problem, would you be so kind to post your solution as answer to your own question? so that others that come across that post see the solution you came up with
129: [08:27:03] <stefanovic72> sure, i will
130: [08:28:30] <wmk> Zauberfisch, good point. forum is full with unanswered questions :(
131: [08:29:02] * jedateach quit (Quit: jedateach)
132: [08:29:50] * jedateach has joined #silverstripe
133: [08:30:20] * jedateach quit (Client Quit)
134: [08:31:13] * jedateach has joined #silverstripe
135: [08:31:34] * jedateach quit (Client Quit)
136: [08:32:02] * jedateach has joined #silverstripe
137: [08:32:22] * r_hector has joined #silverstripe
138: [08:32:24] <Zauberfisch> well, its actually bed time for me
139: [08:32:30] <Zauberfisch> good night o/
140: [08:33:08] * jedateach quit (Client Quit)
141: [08:34:23] * jedateach has joined #silverstripe
142: [08:38:53] * jedateach quit (Client Quit)
143: [08:40:20] * jedateach has joined #silverstripe
144: [08:40:50] * jedateach quit (Client Quit)
145: [08:44:00] * veb has joined #silverstripe
146: [08:44:54] * jedateach has joined #silverstripe
147: [08:46:31] * jedateach has left #silverstripe
148: [08:57:36] * jeroenem has joined #silverstripe
149: [09:06:09] * Stomach quit (Quit: zzz)
150: [09:20:57] * MrGuits quit (Ping timeout: 240 seconds)
151: [09:32:36] <stefanovic72> hello, I asked a question earlier this mornig (or evening :-)) but I still can figure out how to do the thing I want to do. I hope someone can help me with some template code or point me in the right direction
152: [09:32:52] <stefanovic72> This is what it is all about
153: [09:32:54] <stefanovic72> http://img42.com/G4ZbZ
154: [09:33:08] <stefanovic72> I want to create a set of nested tabs
155: [09:33:19] <stefanovic72> so 4 tabs on the top level
156: [09:33:42] <stefanovic72> and very tab has a few sub tabs
157: [09:34:06] <stefanovic72> on the sub tabs I want to add gridfields for maintaining data objects
158: [09:34:27] * Guits has joined #silverstripe
159: [09:34:28] <stefanovic72> this is the code I have now
160: [09:35:16] <stefanovic72> I probably didn't start the right way. Is subclassing LefAndMain the right way?
161: [09:36:02] * veb quit (Quit: veb-irc: &)
162: [09:36:13] <stefanovic72> When I subclass modeladmin I have to define a managedmodel on the top level and that is not what I want
163: [09:36:24] <stefanovic72> Any ideas?
164: [09:39:22] <stefanovic72> http://www.sspaste.com/paste/show/5497e348377a0
165: [09:40:23] <stefanovic72> It goes wrong in this line: $fields->addFieldToTab('Root.Verkoop.Verkoop.Verkoopitems', $grid); When I replace this line with this I don't get thet error and the headerfield is added to the tab. $fields->addFieldToTab('Root.Verkoop.Verkoop.Verkoopitems', new HeaderField('Article categories', 2)); So my conclusion, it goes wrong at the moment the grid is added to the tab but why? Creating the grid doesn't give an error.
166: [09:42:11] <stefanovic72> The error I get: I get this error: Call to a member function FormAction() on a non-object in....
167: [09:46:06] <wmk> stefanovic72, your img42.com link above doesn't work
168: [09:46:47] <stefanovic72> http://img42.com/up3VM
169: [09:47:06] <stefanovic72> the image will live for only 10 minutes. I pasted is once again
170: [09:48:40] <wmk> ok
171: [09:48:49] <wmk> so you want something like "nested modeladmin" ?
172: [09:48:55] <stefanovic72> yes
173: [09:49:22] <stefanovic72> I want gridfieldson the sub tabs and not on the highest levels
174: [09:51:23] <wmk> never had so many models in modeladmin
175: [09:51:36] <wmk> in doubt you have to split it up in many modeladmins
176: [09:52:14] <wmk> i don't know if nesting tabs so deep really works in leftandmain
177: [09:53:00] <wmk> so - if you want it easy: many modeladmins and try to oder them in left menu
178: [09:54:08] <wmk> you may play with Modeladmin's $menu_priority setting to group them together
179: [09:55:51] <wmk> you can also try to add all your models to a subclass of modeladmin and reorder the tabs
180: [09:56:16] <wmk> as tabs are just fields you could create your grouping tabs and add the other tabs to them
181: [09:56:39] <wmk> dunno if there are any downsides with it (urls not working maybe)
182: [09:57:20] <stefanovic72> ok thanks wmk. Do you have any idea why I cannot add a gridfield to the tabs I created now (in the current code). When I add for instance a headerfield to a tab, it works. the headerfield is being displayed. When I add the gridfield i get this error:
183: [09:57:35] <stefanovic72> Call to a member function FormAction() on a non-object in....
184: [09:58:06] <wmk> hmm, no. maybe the grid isn't created properly?
185: [09:58:24] <wmk> can you paste the code with the gridfield and the whole error?
186: [09:59:44] <stefanovic72> the gridfield is being created in line 70 of this code:
187: [09:59:45] <stefanovic72> http://www.sspaste.com/paste/show/5497e348377a0
188: [10:00:08] <stefanovic72> I will paste the code of the dataobject also
189: [10:01:00] <stefanovic72> http://www.sspaste.com/paste/show/5497ebe03dade
190: [10:01:41] <stefanovic72> this is the error:
191: [10:01:43] <stefanovic72> PHP Fatal error: Call to a member function FormAction() on a non-object in /home/sites/development/000_SILVERSTRIPE/www/3_1_8/framework/forms/FormField.php on line 157, referer: http://www.bestmeat4u.hst3.nl/admin/bm-settings/
192: [10:02:46] <wmk> stefanovic72, well, it looks right but so wrong (tm)
193: [10:02:57] <stefanovic72> when i replace this line: $fields->addFieldToTab('Root.Verkoop.Verkoop.Verkoopitems',$grid);
194: [10:03:12] <stefanovic72> with this one: $fields->addFieldToTab('Root.Verkoop.Verkoop.Verkoopitems', new HeaderField('Test', 2))
195: [10:03:46] <stefanovic72> the headerfield is being displayed so indeed something must be wrong with the gridfield I guess
196: [10:03:59] * r_hector quit (Quit: Leaving.)
197: [10:04:01] <stefanovic72> I will investigate it further
198: [10:04:10] <wmk> try $emaildefault = EmailDefault::get()->sort('SortOrder', 'ASC');
199: [10:05:32] <wmk> DataObject::get() is soooo oldscool
200: [10:05:48] <wmk> it was right in 2.4, but with SS v3 the ORM changed
201: [10:06:09] <wmk> stefanovic72 ^^
202: [10:06:24] <stefanovic72> Ok. unfortunately the same result
203: [10:07:08] <wmk> hmm, how does ModelAdmin create the grids?
204: [10:08:18] <wmk> try second param false
205: [10:08:40] <wmk> see in code: ModelAdmin getEditForm()
206: [10:09:04] <wmk> BUT
207: [10:09:32] <wmk> even if you get the form rendering working... getting it saved back to DB after submitting is the other part
208: [10:09:54] <stefanovic72> yeah, it's probably not the right way to go.
209: [10:10:20] <stefanovic72> I think I'm gonna try anaother approach
210: [10:13:05] <stefanovic72> Thanks very much for your help wmk. It's really apprecieated!
211: [10:13:55] * Guits quit (Ping timeout: 255 seconds)
212: [10:14:39] <wmk> did you try the second param as "false" ?
213: [10:15:05] <wmk> stefanovic72, $grid= new GridField('EmailContent', false, $emaildefault, $conf);
214: [10:15:27] <stefanovic72> no, not yet. which second param do you mean?
215: [10:15:29] <wmk> maybe the grid does save back automagically, i really don't know
216: [10:15:40] <wmk> but i could imagine...
217: [10:17:10] <wmk> though i'd really advice you to use ModelAdmin if you're not familiar with Silverstripe.
218: [10:17:41] <wmk> either many modeladmins or try to reorder the form
219: [10:19:38] <stefanovic72> second param false -> same result
220: [10:20:01] <stefanovic72> ok, i will do that
221: [10:28:33] * Pyllk has joined #silverstripe
222: [10:28:50] <Pyllk> So it turns out, never use the mysql keyword GLOBAL, not even once :<
223: [10:29:06] <Pyllk> set global sql_mode='ansi'
224: [10:29:08] <Pyllk> WHOOPS
225: [10:30:11] * Shrike_Finland quit (Quit: Leaving.)
226: [10:30:23] <wmk> Pyllk, all tha globalization isn't that good
227: [10:31:31] <Pyllk> especially if you do the above when your app is littered with backticks and field identifiers as strings
228: [10:31:50] <Pyllk> concat("lolbroken-", `thatfield`)
229: [10:35:54] <wmk> so a merry christmas to all
230: [10:36:26] * wmk quit (Quit: nice to meet you ;))
231: [10:59:11] * [Fate] quit (Ping timeout: 252 seconds)
232: [10:59:26] * [Fate] has joined #silverstripe
233: [11:12:33] * Shrike_Finland has joined #silverstripe
234: [11:55:12] * ThePeach has joined #silverstripe
235: [12:16:07] * coffee_ has joined #silverstripe
236: [12:17:17] <coffee_> hey guys
237: [12:17:17] <coffee_> we seem to have a problem in the admin off ss3
238: [12:17:25] <coffee_> if you are switching through pages from the tree on the left side sometimes it automatically reloads a previous page you hadd loaded did u ever meet this problem before?
239: [12:27:43] <Pyllk> the admin off ss3?
240: [12:27:54] <Pyllk> Turn it back on and it'll probably work better.
241: [12:28:07] <Pyllk> :P
242: [12:28:31] <Pyllk> but no, I've never experienced that issue before.
243: [12:31:27] * blueman has joined #silverstripe
244: [12:43:20] * Shrike_Finland quit (Quit: Leaving.)
245: [12:47:56] * CerV has joined #silverstripe
246: [12:48:42] <CerV> Hello, i'm looking for a way to check if a certain site has children from inside the template
247: [12:49:08] <CerV> not the current one, a specific one, which is of a specific type too
248: [12:55:16] * coffee_ quit (Ping timeout: 246 seconds)
249: [13:06:42] * UndefinedOffset has joined #silverstripe
250: [13:11:50] * Guits has joined #silverstripe
251: [13:29:58] <CerV> alright, found it
252: [13:42:06] * jyrkililja quit (Quit: leaving)
253: [13:48:16] <Pyllk> CerV: this->children()->filter(...)
254: [13:50:18] <Pyllk> although arguably a better way to do it would be PageType::get()->filter('ParentID', $this->ID);
255: [13:50:55] <Pyllk> although that checks direct children, not all descendents.
256: [14:31:34] * jrthomer has joined #silverstripe
257: [14:41:31] * catcher has joined #silverstripe
258: [14:49:43] * CerV quit (Ping timeout: 246 seconds)
259: [14:51:25] * muskie9 has joined #silverstripe
260: [14:56:14] * Pigeon has joined #silverstripe
261: [14:56:23] * Pigeon is now known as Guest55738
262: [14:58:25] * Guest55738 is now known as pigeonfriend
263: [15:03:23] <Pyllk> pigeonfriend: you gonna be the new SSEUHQ?
264: [15:04:01] <pigeonfriend> @pyllk, that up for grabs or something?
265: [15:56:06] * nonconformatevi has joined #silverstripe
266: [15:56:53] * nonconformatevi has left #silverstripe
267: [15:58:58] <Pyllk> pigeonfriend: no, just saw an announcement somewhere that it's apparently a thing.
268: [15:59:14] <Pyllk> Kicking off at PHPUK or something. PHPLondon, idk, are they the same thing?
269: [16:00:23] <Pyllk> Was sad to hear about the fate of better brief. Was wondering if that'd freeded you up to take on another role or something though
270: [16:15:21] * jenniferaslan has joined #silverstripe
271: [16:15:46] * ThePeach quit (Remote host closed the connection)
272: [16:30:52] * ThePeach has joined #silverstripe
273: [16:31:18] <pigeonfriend> ThePeach: who are you?! shee
274: [16:31:59] <pigeonfriend> Pyllk: yer, sucks, but also a good thing. Hopefully I'll find more time for SS... if they want to ask me.. then happy to think about that! :P
275: [16:42:29] <ThePeach> pigeonfriend: glad to see another estimator of pigeons
276: [16:42:48] <pigeonfriend> :)
277: [16:45:15] * muskie9 quit (Read error: Connection reset by peer)
278: [16:45:35] * muskie9 has joined #silverstripe
279: [16:47:00] * jeroenem quit (Quit: Page closed)
280: [16:54:29] * stefanovic72 quit (Remote host closed the connection)
281: [17:09:53] * elgrodo quit (Ping timeout: 252 seconds)
282: [17:13:43] * elgrodo has joined #silverstripe
283: [17:44:13] * ThePeach quit (Quit: leaving)
284: [17:44:52] * gelignite has joined #silverstripe
285: [17:51:29] <muskie9> has anyone ever set the minutes interval setting in sheadawson's silverstripe-timepickerfield
286: [18:17:18] * pigeonfriend quit (Ping timeout: 264 seconds)
287: [19:07:03] * DimiStripe has joined #silverstripe
288: [19:13:15] * jedateach has joined #silverstripe
289: [19:25:49] * jedateach quit (Quit: jedateach)
290: [19:41:46] * jedateach has joined #silverstripe
291: [19:44:03] * mobiusnz quit (Quit: Leaving.)
292: [19:56:30] * elgrodo quit (Ping timeout: 250 seconds)
293: [20:01:47] * zippy has joined #silverstripe
294: [20:08:40] * veb has joined #silverstripe
295: [20:08:41] * veb quit (Changing host)
296: [20:08:41] * veb has joined #silverstripe
297: [20:10:57] * jedateach quit (Quit: jedateach)
298: [20:12:46] * jedateach has joined #silverstripe
299: [20:21:22] * jedateach quit (Quit: jedateach)
300: [20:21:27] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
301: [20:24:01] * jedateach has joined #silverstripe
302: [20:24:43] * veb is now known as vebb
303: [20:24:49] * vebb quit (Quit: veb-irc: &)
304: [20:26:52] * DimiStripe quit (Quit: DimiStripe)
305: [20:26:58] * jedateach quit (Client Quit)
306: [20:27:54] * veb has joined #silverstripe
307: [20:33:35] * veb is now known as vebb
308: [20:33:57] * vebb quit (Quit: veb-irc: &)
309: [20:37:14] * veb has joined #silverstripe
310: [20:37:14] * veb quit (Changing host)
311: [20:37:14] * veb has joined #silverstripe
312: [20:40:37] * veb is now known as vebb
313: [20:40:43] * vebb quit (Client Quit)
314: [20:42:05] * veb has joined #silverstripe
315: [20:47:06] * mahfuz has joined #silverstripe
316: [21:01:47] * jedateach has joined #silverstripe
317: [21:01:47] * Pigeon has joined #silverstripe
318: [21:02:07] * jedateach quit (Client Quit)
319: [21:02:11] * Pigeon is now known as Guest13592
320: [21:04:51] * UndefinedOffset quit (Quit: Leaving.)
321: [21:06:16] * Guest13592 quit (Ping timeout: 256 seconds)
322: [21:26:27] * mobiusnz has joined #silverstripe
323: [21:27:44] * PigeonFriend has joined #silverstripe
324: [21:28:32] * Vanny has joined #silverstripe
325: [21:29:37] <Vanny> Hi All, Newbie Question. I have a client I am doing a site for, who has registered 5 different domian names for his company, and wants a different logo on the header depending on the URL that it comes in with. Can someone point me in the direction of what to look at
326: [21:31:08] * novaweb has joined #silverstripe
327: [21:46:30] <MichalKleiner> Vanny: in case you have the same content on 5 different domains and just change a logo/theme, it will be treated as duplicate content for search engines and they don't like it. If the content is the same, it should have one canonical domain and redirect to that domain. To be able to display different logos on the same domain based on the redirection, I'd suggest redirecting in index.php with setting up some session variable and usin
328: [21:46:30] <MichalKleiner> g it in the template to decide which logo to display
329: [21:56:48] <Vanny> ok, so I cant run a get URL function just to display the logo
330: [22:06:52] * blueman quit (Ping timeout: 246 seconds)
331: [22:07:53] * simon_w|work has joined #silverstripe
332: [22:18:03] * muskie9 quit (Ping timeout: 244 seconds)
333: [22:27:38] * muskie9 has joined #silverstripe
334: [22:29:27] * NachoCologne has joined #silverstripe
335: [22:29:28] * simon_w|work quit (Read error: Connection reset by peer)
336: [22:33:47] * simon_w|work has joined #silverstripe
337: [22:34:24] <NachoCologne> Hello @all, I can't get $SelectedNiceDate translated to German in the blog module - need help and would be very grateful!
338: [22:34:42] <NachoCologne> Tried this with no success:
339: [22:34:44] <NachoCologne> public function SelectedNiceDate(){ $date = $this->SelectedDate(); $date->Locale = $this->Locale; if(strpos($date, '-')) { $date = explode("-",$date); return date("F", mktime(0, 0, 0, $date[1], 1, date('Y'))). " " .date("Y", mktime(0, 0, 0, date('m'), 1, $date[0])); } else { return date("Y", mktime(0, 0, 0, date('m'), 1, $date)); } }
340: [22:34:45] * simon_w|air has joined #silverstripe
341: [22:38:44] * catcher quit (Quit: Leaving)
342: [22:45:36] <MichalKleiner> Vanny: if you run it on multiple domains you probably could but what I'm saying is not to have the same content with different logo on multiple domains
343: [22:52:36] * simon_w|work quit (Quit: Ping timeout: your mum)
344: [22:52:42] * simon_w|work has joined #silverstripe
345: [22:55:19] <novaweb> Any bootstrap junkies on the house?
346: [22:55:43] <novaweb> Wondering what the best practice is for overriding default styles.
347: [22:55:50] * veb is now known as vebb
348: [22:56:06] * vebb quit (Quit: veb-irc: &)
349: [22:56:12] <novaweb> ie navbar-inverse is a gradient... what if I want to make navbar-inverse just #000;
350: [22:56:19] <novaweb> (this is a silverstripe project)
351: [22:56:52] * gelignite quit (Quit: http://bit.ly/nkczDT)
352: [22:57:17] * PigeonFriend quit (Ping timeout: 240 seconds)
353: [23:01:26] * veb has joined #silverstripe
354: [23:09:48] * marvanni has joined #silverstripe
355: [23:20:03] * Pigeon has joined #silverstripe
356: [23:20:42] * Pigeon is now known as Guest99454
357: [23:31:47] * veb is now known as vebb
358: [23:31:52] * vebb quit (Quit: veb-irc: &)
359: [23:41:53] * veb has joined #silverstripe
360: [23:48:33] * blueman_ has joined #silverstripe
361: [23:48:57] * blueman_ is now known as Guest80291
362: [23:49:47] * marvanni quit (Quit: marvanni)
363: [23:54:09] * veb is now known as vebb
364: [23:54:25] * vebb quit (Quit: veb-irc: &)
365: [23:54:53] * veb has joined #silverstripe
366: [23:57:15] * Guest99454 quit (Ping timeout: 244 seconds)
367: [23:58:48] <Guest80291> what's the best way to add some additional filtering to AssetAdmin::getList() ?

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