#silverstripe IRC Log

IRC log for 4 May 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:16] * ss-helper has joined #silverstripe
3: [00:10:51] <Audlex> can userforms accept $_GET data out of the box?
4: [00:13:44] <Audlex> or is that only in 2.0?
5: [00:13:52] <Audlex> as 3.0 does not mention it in the docs
6: [00:23:27] <Audlex> hmm i installed 2.0 instead but does not seem to accept the data
7: [00:29:47] * BrewNaked quit (Remote host closed the connection)
8: [00:38:03] <Audlex> i will go custom i suppose
9: [01:16:08] * micmania1 quit (Quit: micmania1)
10: [01:33:07] * Tanger has joined #silverstripe
11: [01:39:10] * Stomach quit (Quit: zzz)
12: [01:39:56] * micmania1 has joined #silverstripe
13: [01:52:33] * Stomach has joined #silverstripe
14: [02:17:24] * Stomach quit (Quit: zzz)
15: [02:18:40] * BrewNaked has joined #silverstripe
16: [02:23:01] * BrewNaked quit (Ping timeout: 250 seconds)
17: [02:30:19] * Hailwood quit (Ping timeout: 260 seconds)
18: [02:30:38] * Stomach has joined #silverstripe
19: [02:36:41] * UncleCheese has joined #silverstripe
20: [02:41:38] * UncleCheese quit (Read error: Connection reset by peer)
21: [03:13:18] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
22: [03:50:17] * Admonish has joined #silverstripe
23: [04:07:31] * BrewNaked has joined #silverstripe
24: [04:09:27] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
25: [04:12:45] * BrewNaked quit (Ping timeout: 276 seconds)
26: [04:32:53] * micmania1 quit (Read error: Connection reset by peer)
27: [04:33:24] * micmania1 has joined #silverstripe
28: [04:35:22] <spronk> trello.com down for anyone else?
29: [04:42:46] <vitaly_> Is there a way to get an ArrayList element inside of template by key?
30: [04:42:58] <vitaly_> without looping
31: [04:49:21] * micmania1 quit (Quit: micmania1)
32: [04:56:37] <Tanger> vitaly_: You could try find() or filter() in the template
33: [04:57:00] <vitaly_> Tanger: Thanks, already found a way using with with find
34: [04:57:17] <vitaly_> Is there a way to escape double quotes?
35: [04:58:17] * micmania1 has joined #silverstripe
36: [05:00:45] * Admonish has joined #silverstripe
37: [05:02:11] * Phlunk3 quit (Quit: Leaving)
38: [05:07:44] <micmania1> vitaly_: you could probably use offsetGet($key)
39: [05:07:59] <micmania1> or limit
40: [05:15:16] <ss-helper> get data from return value of mandrillapp array - http://stackoverflow.com/questions/37018951/get-data-from-return-value-of-mandrillapp-array
41: [05:22:14] <Tanger> vitaly_: Escape quotes in the template?
42: [05:23:29] <vitaly_> Tanger: Yeah, let's say I want to put text into tooltip title="$Tooltip". If $Tooltip contains " html markup will be broken
43: [05:24:45] <Tanger> I would perhaps url encode $Tooltip?
44: [05:24:53] <Tanger> So then it’llprint out &quot; instead of “
45: [05:34:13] * micmania1 quit (Quit: micmania1)
46: [05:50:13] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
47: [05:56:14] <Firesphere> Ah, you need $Tooltip.XML vitaly_
48: [05:56:22] * BrewNaked has joined #silverstripe
49: [06:00:39] * BrewNaked quit (Ping timeout: 246 seconds)
50: [06:04:45] * swaiba has joined #silverstripe
51: [06:35:14] * Admonish has joined #silverstripe
52: [06:35:18] * Admonish quit (Client Quit)
53: [06:35:37] * spronk quit (Quit: I may need a longer sleep timer...)
54: [06:40:11] * Stomach quit (Quit: zzz)
55: [06:40:43] * Stomach has joined #silverstripe
56: [06:49:12] * marvanni has joined #silverstripe
57: [06:55:42] * Eliseth has joined #silverstripe
58: [07:01:15] * spronk has joined #silverstripe
59: [07:02:59] * Agilix_ has joined #silverstripe
60: [07:03:12] <Agilix_> hello o/
61: [07:11:56] <swaiba> Agilix_ o\
62: [07:25:21] * marvanni quit (Quit: marvanni)
63: [07:30:12] * marvanni has joined #silverstripe
64: [07:35:47] * Mike123 has joined #silverstripe
65: [07:38:25] * Stomach quit (Quit: zzz)
66: [07:44:52] * marius has joined #silverstripe
67: [07:44:53] <ss-helper> marius: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
68: [07:45:14] * marius quit (Client Quit)
69: [07:45:37] * silver has joined #silverstripe
70: [07:45:38] * BrewNaked has joined #silverstripe
71: [07:45:51] <silver> hi
72: [07:46:01] * silver is now known as Guest8807
73: [07:47:29] * Admonish has joined #silverstripe
74: [07:48:22] <Admonish> How do I add tabs to a tabset after its already been defined? Can i just do a push with a tab FormField?
75: [07:49:18] <Admonish> Im kind of uncertain as there also seems to be a setTabs method on TabSet
76: [07:49:32] <Guest8807> silverstripe has filters and export button on gridfield, but when i filter data and press export button all objects are exporting, not filtered. How can I fix that ?
77: [07:50:04] * BrewNaked quit (Ping timeout: 240 seconds)
78: [07:52:40] <Admonish> Tanger do you happen to know how to accomplish what I posted above?
79: [07:54:13] <swaiba> Admonish $fields->addFieldToTab('Root.NewTabName',LiteralField::create('SomeField','SomeField'));
80: [07:54:36] <swaiba> Guest8807 which version?
81: [07:54:44] <Tanger> Admonish: You should be able to push them as well with $tabset->push($tab)
82: [07:55:10] <Guest8807> silverstripe version 3.3
83: [07:55:22] <Tanger> Admonish: Could also use insertBefore and insertAfter if you want to insert it into the middle
84: [07:55:25] <Guest8807> https://snag.gy/03OgjK.jpg
85: [07:55:55] <Admonish> Thank you tanger and swaiba for your help :D
86: [07:57:55] <Guest8807> can anyone help me?
87: [07:59:32] * Azure quit (Ping timeout: 260 seconds)
88: [08:01:57] * Azure has joined #silverstripe
89: [08:02:12] <Admonish> cya yall
90: [08:02:16] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
91: [08:05:00] * Teddy_ has joined #silverstripe
92: [08:05:33] * wmk has joined #silverstripe
93: [08:07:11] * glenn-bautista quit (Read error: Connection reset by peer)
94: [08:07:23] * glenn-bautista has joined #silverstripe
95: [08:08:18] <Guest8807> silverstripe has filters and export button on gridfield, but when i filter data and press export button all objects are exporting, not filtered. How can I fix that ?
96: [08:09:43] * jcwacky quit (Quit: jcwacky)
97: [08:15:39] * jcwacky has joined #silverstripe
98: [08:19:54] * Azure quit (Remote host closed the connection)
99: [08:38:04] <Tanger> Guest8807: You may need to write your own CSV exporter class
100: [08:38:22] <Tanger> Something that reads in the filtered data from the gridfield and exports it manually
101: [08:38:39] <Tanger> I’m not entirely too sure if that’s the best way to go about it, but it sounds OK in theory
102: [08:38:42] * spronk quit (Quit: I may need a longer sleep timer...)
103: [08:43:46] * kinglozzer has joined #silverstripe
104: [08:59:41] <swaiba> Best way to add many items on a manymany relationship with gridfield?
105: [08:59:53] <swaiba> i.e. instead of using the link existing and adding one by one...
106: [09:05:44] <Guest8807> my custom export class code http://paste.ofcode.org/YB2sfTuUX2NDeXEfjXcw4P
107: [09:09:07] <swaiba> wow Guest8807 a little complicated
108: [09:09:18] <marvanni> and not yours ;)
109: [09:09:22] <marvanni> but that ok
110: [09:09:29] <swaiba> ha!
111: [09:09:31] <marvanni> it uses excel not csv
112: [09:09:55] <swaiba> I'd probably add an extension on ModelAdmin, overide the getList function and add...
113: [09:10:02] <swaiba> Session::set($this->modelClass.'getListSQL',$list->sql());
114: [09:10:18] <swaiba> then use that session variable to get the list of records on export
115: [09:10:22] <marvanni> https://github.com/axyr/silverstripe-phpexcel
116: [09:11:03] <swaiba> marvanni I was gonna ask if you were Guest8807 when I say "author : Martijn"
117: [09:11:31] <marvanni> he is not :)
118: [09:13:58] * Tanger quit (Quit: Tanger)
119: [09:29:08] * zlinux has joined #silverstripe
120: [09:30:42] <ss-helper> How do I implement a Form on a GridFieldDetailForm_ItemRequest subclass? - http://stackoverflow.com/questions/37023467/how-do-i-implement-a-form-on-a-gridfielddetailform-itemrequest-subclass
121: [09:34:10] * BrewNaked has joined #silverstripe
122: [09:39:03] * BrewNaked quit (Ping timeout: 276 seconds)
123: [09:46:49] <Agilix_> Can you do toArray on a DataObject?
124: [09:53:38] <swaiba> Agilix_ http://api.silverstripe.org/3.1/source-class-DataObject.html#787-795
125: [09:53:45] <swaiba> Anyone...
126: [09:53:45] <swaiba> Best way to add many items on a manymany relationship with gridfield?
127: [09:55:36] <kinglozzer> swaiba: I'm not aware of any GridField-based way of doing it besides the autocompleter
128: [09:56:12] <swaiba> kinglozzer sad face, I was hoping there was a filter / checkbox type module out there
129: [09:56:34] <kinglozzer> The only ones I know of don't use GF :/
130: [09:57:21] <kinglozzer> swaiba: http://addons.silverstripe.org/add-ons/briceburg/silverstripe-pickerfield ?
131: [09:57:58] <swaiba> kinglozzer happy face
132: [09:58:10] <swaiba> thanks I'll give that a go, code update within 6 months too!
133: [09:58:15] <kinglozzer> Haven't tried the has_many/many_many side of that module, lemme know how it goes!
134: [09:58:20] <swaiba> sure
135: [10:25:32] * Guest8807 quit (Quit: Page closed)
136: [10:37:50] * DimiStripe_alt has joined #silverstripe
137: [10:39:09] * DimiStripe quit (Ping timeout: 260 seconds)
138: [10:39:09] * DimiStripe_alt is now known as DimiStripe
139: [10:40:32] * MattyBalaam has joined #silverstripe
140: [10:40:40] * Azure has joined #silverstripe
141: [10:40:56] * Azure quit (Read error: Connection timed out)
142: [10:41:36] * Azure has joined #silverstripe
143: [10:51:07] * MattyBalaam quit (Quit: Page closed)
144: [11:15:19] <ss-helper> Re: [silverstripe-dev] Re: PHP/Silverstripe IDE Survey : What IDE do you use for SS work ? - https://groups.google.com/d/msg/silverstripe-dev/bozY5hh9g4c/DFL4gxmIBwAJ
145: [11:23:05] * BrewNaked has joined #silverstripe
146: [11:27:47] * BrewNaked quit (Ping timeout: 276 seconds)
147: [11:38:35] * Teddy__ has joined #silverstripe
148: [11:39:29] * Teddy_ quit (Ping timeout: 276 seconds)
149: [11:48:13] * UndefinedOffset has joined #silverstripe
150: [11:48:30] <Agilix_> thank you swaiba
151: [11:55:20] * terryapodaca has joined #silverstripe
152: [11:55:34] * wmk quit (Ping timeout: 244 seconds)
153: [11:55:35] <terryapodaca> Hey guys
154: [11:57:18] <terryapodaca> I know this is a basic thing, but what's the current way to get 4 random dataobjects on the home page as long as their bool field "ShowOnHP" = true or 1
155: [11:57:31] <terryapodaca> or what's the new syntax for 3.3
156: [11:59:58] <cloph_away> YourObject::get()->filter("ShowOnHP", true)->sort('RAND()')->limit(4);
157: [12:00:17] <terryapodaca> I'd rather do all this in the HomePage Controller and not have several if statements in the template
158: [12:09:28] <marvanni> I would create a GlobalViewHelper implements TemplateGlobalProvider{} and add the method to return the random methods there
159: [12:10:03] <marvanni> the use of a ViewHelper cleans up your modals and controllers nicely
160: [12:10:13] <elgabbu> hi all
161: [12:10:40] <elgabbu> i am tracking down an issue when changin page type
162: [12:11:20] <marvanni> good luck
163: [12:11:34] <marvanni> and have fun :)
164: [12:12:37] <elgabbu> haha ... well when change page type validation is being triggered ... in the validate function of my class there is a call to a has_one relationship
165: [12:12:57] <marvanni> terryapodaca I have something like this : http://sspaste.com/paste/show/5729e719c6a16
166: [12:13:09] * spronk has joined #silverstripe
167: [12:13:38] <elgabbu> during this page tpye chnage request (save & publish) ... the call to the has_one relationship fails ...
168: [12:13:57] <elgabbu> Uncaught Exception: Object->__call(): the method 'articlephoto' does not exist on 'ImportedArticle'
169: [12:14:15] <elgabbu> which is not true since articlephoto is a valid relationshop on ImportedArticle
170: [12:14:31] <elgabbu> i looked at the __call function in Object
171: [12:14:39] <marvanni> if($this->isChanged('ClassName')) {
172: [12:14:39] <marvanni> return true;
173: [12:14:40] <marvanni> }
174: [12:15:06] <terryapodaca> marvanni: I'll see if I can implement that later, for now all I need is this simple 4 objects to display on the home page and that's about as complicated as the site gets
175: [12:15:08] <marvanni> might try that as first check in validate
176: [12:15:25] <elgabbu> hmmm
177: [12:15:29] <terryapodaca> I think what cloph_away gave me will work just fine for now
178: [12:15:36] <marvanni> that will do
179: [12:16:46] <marvanni> hm… onBeforeWrite is called after valdiate :(
180: [12:18:21] <marvanni> or overload preWrite() {}
181: [12:22:22] <elgabbu> yeah changedfields is empty
182: [12:24:10] <marvanni> wel you could hack and compare $_POST[‘ClassName] with $this->ClassName
183: [12:28:55] <elgabbu> marvanni ... i think the problem lies in Object __call
184: [12:29:19] <elgabbu> if(isset(self::$extra_methods[$this->class][$method])) { $config = self::$extra_methods[$this->class][$method];
185: [12:30:00] <elgabbu> instead of using this->class it should use get_class($this) ... since the property value would have changed but the instance itself it still ImportedArticle
186: [12:32:11] * muskie9 has joined #silverstripe
187: [12:49:59] <marvanni> $this->ClassName is the Database value
188: [12:50:08] <marvanni> that is also posted when saving a record.
189: [13:11:54] * BrewNaked has joined #silverstripe
190: [13:14:12] * zlinux quit (Ping timeout: 276 seconds)
191: [13:15:22] <ss-helper> Re: [silverstripe-dev] Re: PHP/Silverstripe IDE Survey : What IDE do you use for SS work ? - https://groups.google.com/d/msg/silverstripe-dev/bozY5hh9g4c/CJPpXJOOBwAJ
192: [13:16:39] * BrewNaked quit (Ping timeout: 260 seconds)
193: [13:17:07] * zlinux has joined #silverstripe
194: [13:28:58] <jcwacky> Is there a way to link directly to an EditForm for an object, that belongs to a page with a Gridfield? As the standard URL doesn’t include the parent page’s ID.
195: [13:30:22] <ss-helper> Re: Preferred method for converting framework to PSR-2 - https://groups.google.com/d/msg/silverstripe-dev/IoMtKlju3Rc/Gov-NoqPBwAJ
196: [13:30:56] <swaiba> jcwacky I do this by build the URL you can see in the browser... If I follow what you're asking right
197: [13:31:59] <marvanni> I understand that problem. the gridfield does some weird things with the parent id that is not in the url. you cant reverse engineer the url of dataobject item edit form that has a relation to a page
198: [13:32:33] <marvanni> if you figured it out, please let me know :)
199: [13:33:10] <jcwacky> Yeh, there doesn’t appear to be a place in the URL for the Page ID.
200: [13:35:38] <swaiba> oh, I'm normally only dataobject
201: [13:35:48] <swaiba> the sitetree is one step from being a designer
202: [13:35:56] <jcwacky> :P
203: [13:36:27] <swaiba> maybe if you use one of the models to move the pages to modeladmin that might help?
204: [13:38:38] <jcwacky> This particular site has quite a page hierarchy, so that wouldn’t suit, but I could utilise just a ModelAdmin to solve this problem I suppose.
205: [13:41:01] * Audlex quit ()
206: [13:52:44] * zlinux quit (Ping timeout: 276 seconds)
207: [14:02:35] * arnhoe has joined #silverstripe
208: [14:06:52] * zlinux has joined #silverstripe
209: [14:48:37] <swaiba> hmmmm
210: [14:49:05] <swaiba> controlling the tab position using addFieldToTab... ?
211: [14:52:37] <swaiba> passing the insertBefore doesn't seem to work
212: [14:52:41] <swaiba> http://api.silverstripe.org/3.1/source-class-FieldList.html#92-111
213: [14:52:54] <swaiba> maybe the tab isn't present when it's build it...
214: [15:00:45] * BrewNaked has joined #silverstripe
215: [15:03:11] * spronk quit (Quit: I may need a longer sleep timer...)
216: [15:03:46] <elgabbu> $this->owner->stat('xxx')
217: [15:04:01] <elgabbu> should that be able to read a private static set on the owner?
218: [15:05:04] * BrewNaked quit (Ping timeout: 240 seconds)
219: [15:05:18] <swaiba> elgabbu maybe, but config::inst()->get($this->owner->Classname, 'xxx'); would defo
220: [15:07:14] <elgabbu> swaiba still didn't find it :/
221: [15:07:54] <muskie9> elgabbu make sure you flush if you just added the private static
222: [15:08:05] <swaiba> you are sure... a) it is set as you think and b) that £this->owner is correct?
223: [15:08:18] <swaiba> and what muskie9 said!
224: [15:08:41] <elgabbu> FFS ... was flushing the wrong project
225: [15:09:10] <muskie9> elgabbu I know that feeling, except usually I'm flushing the review server instead of my local instance ;P
226: [15:09:30] <elgabbu> haha :)
227: [15:15:00] * Mike123 quit (Ping timeout: 250 seconds)
228: [15:15:45] <kinglozzer> swaiba: Yeah you can't do it like that, you have to do $fields->insertAfter('Root.Main', Tab::create('MyNewTab')); $fields->addFieldToTab('Root.MyNewTab', ...
229: [15:15:55] <kinglozzer> Or something like that
230: [15:16:44] * Agilix_ quit (Ping timeout: 250 seconds)
231: [15:24:55] <swaiba> kinglozzer so make the tab that doesn't exist yet... so when it does then it reuses the one already in order?
232: [15:25:05] <kinglozzer> Yeah exactly
233: [15:25:12] * arnhoe quit ()
234: [15:25:17] <swaiba> oh and the add many picker field is much much better than default - thanks
235: [15:25:45] <kinglozzer> swaiba: What does it look like? The module doesn't really show any screenshots of what happens when you click the button to add some items...
236: [15:26:39] <swaiba> standard jQuery pop up, like the column chooser
237: [15:27:06] <swaiba> with the searchable fields up top and a pre-loaded set of records
238: [15:27:14] <swaiba> so you can filter and add
239: [15:27:50] * BrewNaked has joined #silverstripe
240: [15:28:03] <swaiba> it doesn't seem to do check boxes for mulipe add though, still one at a time
241: [15:28:23] <swaiba> but fewer clicks / keypresses than having to keep typing in the link existing box
242: [15:37:47] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
243: [15:51:44] * UndefinedOffset quit (Quit: Leaving.)
244: [15:57:05] * UndefinedOffset has joined #silverstripe
245: [15:59:17] <kinglozzer> Cool, thanks swaiba
246: [15:59:38] <kinglozzer> Encountered new PHP syntax today: public function & getFoo() { }
247: [15:59:44] * kinglozzer had never seen it before
248: [15:59:51] <kinglozzer> "new" :P
249: [15:59:54] <kinglozzer> New for me :D
250: [16:00:05] <swaiba> what does it do?
251: [16:00:26] * BrewNaked quit (Remote host closed the connection)
252: [16:01:38] <kinglozzer> swaiba: This probably explains far better than I can - http://php.net/references.return
253: [16:01:55] <kinglozzer> Came up here https://github.com/silverstripe/silverstripe-framework/pull/4869#discussion_r62064956
254: [16:02:38] <swaiba> that will take some getting used to
255: [16:03:03] <swaiba> I like PHP because it's like a simple C++ .. but now... getting more like it each day
256: [16:03:26] <swaiba> in no time there will be pointers and that
257: [16:03:29] <kinglozzer> lol swaiba, you seen the pipe operator RFC?
258: [16:03:52] <swaiba> nope
259: [16:04:50] <kinglozzer> $var = str_replace('_', ' ', $string) |> ucwords($$) |> str_replace(' ', '', $$) |> lcfirst($$);
260: [16:05:05] <kinglozzer> Something like that...
261: [16:05:29] <kinglozzer> https://wiki.php.net/rfc/pipe-operator
262: [16:05:31] <kinglozzer> There we go
263: [16:05:46] <kinglozzer> Looks like hell to me, just use a damn intermediary variable or two...
264: [16:09:02] <swaiba> so basically bash style use of piping
265: [16:10:09] <swaiba> OMG! "This RFC aims to improve code readability..."
266: [16:11:04] <swaiba> this is just an invitation to make a single line so busy that debugging it is going to require lots of mental skill
267: [16:12:48] * BrewNaked has joined #silverstripe
268: [16:17:07] <kinglozzer> I know >.<
269: [16:17:26] <kinglozzer> There are quite a few RFCs that seem to want to add new syntax just because they can
270: [16:18:19] <kinglozzer> https://wiki.php.net/rfc/short_ternary_equal_operator
271: [16:18:27] <kinglozzer> Because $x = $x ?: $y; is SO HARD TO TYPE
272: [16:25:57] <swaiba> i can just imagine a certain type of coder combining the ternary with the piping to complete obfuscation to the rest of the world
273: [16:28:11] <kinglozzer> Hahaha yeah
274: [16:29:23] * kinglozzer gtg
275: [16:29:24] <kinglozzer> cya!
276: [16:29:27] * kinglozzer quit ()
277: [16:35:18] * xdonny has joined #silverstripe
278: [16:35:19] <ss-helper> xdonny: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
279: [16:36:22] <xdonny> I'm having an issue where I cannot insert media into the HTMLEditorField, it keeps bringing me to a URL like admin/pages/edit/EditorToolbar/MediaForm?locale=en_US when the form tries to POST
280: [16:38:01] <xdonny> I am on silverstripe version 3.1.8 btw
281: [16:40:26] * Teddy__ quit (Ping timeout: 276 seconds)
282: [16:41:51] * swaiba quit (Remote host closed the connection)
283: [16:50:24] * olisb has joined #silverstripe
284: [16:50:25] <ss-helper> olisb: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
285: [16:51:49] <olisb> hello Silver people... total noob here... getting mildly frustrated at not being able to edit the footer items in a new site I have just taken over... I can see they are included with the code <% if SiteConfig.FooterColumn2 %> but where would I find the items that references!?
286: [16:55:44] <olisb> ie. where (in the CMS or the file structure) can I edit the items which are in <% if SiteConfig.FooterColumn2 %> ?
287: [17:03:45] <cloph_away> that's not part of default templates, so custom property/something that you won't find in default install.
288: [17:20:10] * NETim quit (Ping timeout: 252 seconds)
289: [17:20:30] * NETim has joined #silverstripe
290: [17:21:29] <olisb> thanks cloph_away I guessed it might be... so, presuming the orginal coder was following best practice(!?) where in the file structure might I expect to find such a config file?
291: [17:22:58] <cloph_away> in the module that adds the element, in code direcotry, in a file that implements DataExtension for SiteConfig.
292: [17:23:18] <cloph_away> but typically for those there would also be corresponding UI elements for the backend.
293: [17:24:03] <cloph_away> default SiteConfig stuff is in "Settings" tab in admin interface, so I expect the module that adds something like that to have something similar.
294: [17:24:03] <olisb> ah ok, so I should expect to see the variables specified somewhere through the UI!? /me wonders where...
295: [17:24:27] <cloph_away> olisb: point to the module you installed/want to use that introduces the variables and people can tell.
296: [17:24:33] <cloph_away> Otherwise it is just guesswork.
297: [17:25:07] <olisb> i've just taken over this very custom site, have not installed anything so I am guessing / poking around in the dark too
298: [17:25:45] <cloph_away> then just grep for that FooterColumn2 string in your php files.
299: [17:26:05] <olisb> weirdly there is no "settings" tab in the admin interface... unless I am missing something... I seem to have all perms
300: [17:26:29] <xdonny> For googlers who find the logs to this chat, my issue was that someone had entered some jQuery code like jQuery.noConflict(true);
301: [17:26:41] <xdonny> I changed it to false so it would stop braking my page, and it all seems to be good now.
302: [17:28:20] <cloph_away> if it is a custom site, those customizations also might have included removal of that element.
303: [17:28:31] <cloph_away> Without seeing the code, again just guesswork.
304: [17:30:46] <xdonny> SiteConfig.FooterColumn2 could be a function call or object in /cms/code/model/SiteConfig
305: [17:30:56] <xdonny> SiteConfig.FooterColumn2 could be a function call or object in /cms/code/model/SiteConfig.php
306: [17:31:18] <cloph_away> could be, but not in default silverstripe stuff. And canonical way to modify that would be to use DataExtension.
307: [17:31:30] <cloph_away> (and not modify the cms-default files
308: [17:31:56] <cloph_away> https://docs.silverstripe.org/en/3.3/developer_guides/extending/extensions/
309: [17:32:19] <cloph_away> grepping for the string is easiest way to find out where it comes from..
310: [17:33:26] <xdonny> I use Notepad++ and "Find in Files" on a local copy on my Windows box
311: [17:33:50] <olisb> thanks cloph_away - that's sorted ;)
312: [17:34:18] * olisb quit (Quit: Page closed)
313: [17:34:45] <xdonny> Heh, I was interested in what the conclusion to that was
314: [17:36:04] * zlinux quit (Ping timeout: 240 seconds)
315: [17:37:21] * zlinux has joined #silverstripe
316: [17:45:48] * xdonny quit (Ping timeout: 250 seconds)
317: [18:05:59] * marvanni quit (Read error: Connection reset by peer)
318: [18:06:28] * marvanni has joined #silverstripe
319: [18:12:30] * eightythree has joined #silverstripe
320: [18:19:38] <eightythree> Sup guys, i'm using ContextSummary with search results and when results has suffix a the end of the phrase like "..." and there is foreign letter like śćźż i get � mark is there any option to use utf-8 with ContextSummary ? How to fix this?
321: [18:21:31] * zlinux quit (Ping timeout: 244 seconds)
322: [18:23:16] * zlinux has joined #silverstripe
323: [18:29:14] <eightythree> Ok, I've used $Content.LimitWordCountXML(55) and it seems do the job
324: [18:32:03] * terryapodaca quit (Ping timeout: 240 seconds)
325: [18:32:30] * terryapodaca has joined #silverstripe
326: [18:45:52] <ss-helper> Only allow access to a file if logged in to the CMS [SilverStripe] - http://stackoverflow.com/questions/30933532/only-allow-access-to-a-file-if-logged-in-to-the-cms-silverstripe
327: [18:58:55] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
328: [19:24:12] * Stomach has joined #silverstripe
329: [19:43:24] * zlinux quit (Ping timeout: 260 seconds)
330: [19:44:12] * zlinux has joined #silverstripe
331: [19:48:35] * BrewNaked quit ()
332: [19:58:26] * terryapodaca has left #silverstripe
333: [19:59:45] * glenn-bautista quit (Quit: Leaving.)
334: [20:02:33] * gelignite has joined #silverstripe
335: [20:23:54] * robbiea has joined #silverstripe
336: [20:35:45] * UndefinedOffset quit (Quit: Leaving.)
337: [20:41:58] * UndefinedOffset has joined #silverstripe
338: [20:43:28] <vitaly_> Firesphere: awesome, thanks :)
339: [20:43:39] * UndefinedOffset quit (Client Quit)
340: [20:43:49] * Stomach quit (Quit: zzz)
341: [20:45:58] * Stomach has joined #silverstripe
342: [20:49:45] * marvanni quit (Quit: marvanni)
343: [20:50:55] * UndefinedOffset has joined #silverstripe
344: [20:56:31] * zlinux quit (Ping timeout: 244 seconds)
345: [20:57:13] * zlinux has joined #silverstripe
346: [21:06:15] * robbiea quit (Remote host closed the connection)
347: [21:06:36] * adrexia has joined #silverstripe
348: [21:09:26] * robbiea has joined #silverstripe
349: [21:13:34] * robbiea quit (Ping timeout: 244 seconds)
350: [21:15:14] * robbiea has joined #silverstripe
351: [21:17:04] * robbiea_ has joined #silverstripe
352: [21:17:05] * robbiea quit (Read error: Connection reset by peer)
353: [21:37:28] * micmania1 has joined #silverstripe
354: [21:44:07] * Crashy has joined #silverstripe
355: [21:44:58] <Crashy> Hey guys is anyone doing ss dev in VIM and if so no of any nice syntax plugins (for .ss files) having trouble with https://github.com/phalkunz/vim-ss
356: [21:45:35] <ss-helper> Re: [silverstripe-dev] Re: Preferred method for converting framework to PSR-2 - https://groups.google.com/d/msg/silverstripe-dev/IoMtKlju3Rc/c4v2ON6qBwAJ
357: [22:00:46] * glenn-bautista has joined #silverstripe
358: [22:00:55] <cloph_away> yes to first, no to second question - I don't mess around much in templates, so didn't look around for one..
359: [22:02:19] <cloph_away> but whenever you have "trouble" and want help resolving that trouble, you should explain what that trouble actually is...
360: [22:05:41] <Crashy> Basically the syntax support is a limited and there is a bug where all the content is lined up hard on the left instead of indented
361: [22:07:15] * UndefinedOffset quit (Quit: Leaving.)
362: [22:11:19] * micmania1 quit (Quit: micmania1)
363: [22:20:12] * robbiea_ quit (Ping timeout: 276 seconds)
364: [22:23:07] * micmania1 has joined #silverstripe
365: [22:38:18] * eightythree quit (Ping timeout: 250 seconds)
366: [22:45:46] * micmania1 quit (Quit: micmania1)
367: [22:54:12] * robbiea has joined #silverstripe
368: [23:07:09] * Phlunk3 has joined #silverstripe
369: [23:08:35] * robbiea quit (Remote host closed the connection)
370: [23:14:49] * Marc_doe has joined #silverstripe
371: [23:14:50] <ss-helper> Marc_doe: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
372: [23:15:01] <Marc_doe> hello good morning
373: [23:15:07] <Marc_doe> can anyone help me
374: [23:17:42] <Marc_doe> How to display the Authors of blogpost on the template using SS 3.3 the blog post can add many authors on the right sidebar. do you have any idea?
375: [23:18:03] <Firesphere> <% loop $Authors %>
376: [23:19:13] <Marc_doe> i try that one but i get an error
377: [23:20:43] <Marc_doe> cheers
378: [23:20:48] <Firesphere> What error?
379: [23:21:08] <Marc_doe> i fixed it thanks for the idea.
380: [23:21:19] <Marc_doe> the error is ManmanyList
381: [23:21:28] <Marc_doe> but ifixed it thank you
382: [23:22:21] * robbiea has joined #silverstripe
383: [23:31:57] * micmania1 has joined #silverstripe
384: [23:38:54] * spronk has joined #silverstripe
385: [23:54:17] <Marc_doe> hi guys
386: [23:54:21] <Marc_doe> i have another question
387: [23:59:02] * gelignite quit (Quit: http://bit.ly/1kso8Ta)

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