#silverstripe IRC Log

IRC log for 5 April 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:17] * ss-helper has joined #silverstripe
3: [00:11:09] * BrewNaked quit (Remote host closed the connection)
4: [00:22:02] * Stomach quit (Quit: zzz)
5: [00:31:42] <irogue> vitaly_ : annoying time to be in Ops. every site we touch has an entirely different build system
6: [00:36:44] <Pyromanik> annoying to be in anything web related given the community at large's inexperience
7: [00:36:47] <Pyromanik> collectively
8: [00:36:53] <Pyromanik> re-making old mistakes
9: [00:37:05] <Pyromanik> re-inventing shit that's been around since the 70s, etc.
10: [00:37:27] <Pyromanik> Cool tool, wouldn't ti be neat if... *+1 to toolchain*
11: [00:37:58] * micmania1 quit (Quit: micmania1)
12: [00:38:29] <Pyromanik> It's gotten so bad now that people are not just augmenting the toolchain, but the languages themselves too
13: [00:40:55] <Pyromanik> sometimes used as crutch to polish over lack of understanding.
14: [00:41:11] <Pyromanik> Invent a new tool instead of learning something useful! Sounds like my kinda problem domain! xD
15: [00:46:15] <Pyromanik> not to say that all problems don't need fixing, I just... don't always agree with the approach.
16: [00:50:08] * cheddam quit (Ping timeout: 268 seconds)
17: [00:53:42] * micmania1 has joined #silverstripe
18: [01:09:29] * Stomach has joined #silverstripe
19: [01:12:57] * Naveed has joined #silverstripe
20: [01:13:56] <Naveed> Hi All Silverstripe Experts! I am a newbie in Silverstripe world and already started to learn silverstrip. Here is the quick question that I have posted on http://www.silverstripe.org/community/forums/data-model-questions/show/111794#post413178
21: [01:34:53] * Tanger has joined #silverstripe
22: [01:38:01] <Tanger> Howdy nohusuro, seen PHP's new operators? $a <=> $b, ??
23: [01:51:42] * cheddam has joined #silverstripe
24: [01:54:59] * Firesphere_ has joined #silverstripe
25: [02:02:04] * Firesphere_ quit (Ping timeout: 240 seconds)
26: [02:30:14] <spronk> fschhh
27: [03:00:07] <ss-helper> Re: [silverstripe-dev] "Supported modules" and github.com/silverstripe-labs - https://groups.google.com/d/msg/silverstripe-dev/vgQZpUnxrI4/OtNfp-VfAwAJ
28: [03:08:25] <Naveed> Is any expert awoken and answer my question? If this is the case with the support then how the newbie learn silverstripe and use it for the projects
29: [03:13:30] * Stomach quit (Quit: zzz)
30: [03:15:53] * Phlunk3 quit (Remote host closed the connection)
31: [03:23:18] <camfindlay> Naveed: replied - can you provide more details in the forum pls.
32: [03:29:39] * Stomach has joined #silverstripe
33: [03:31:15] * spronk quit (Quit: I may need a longer sleep timer...)
34: [03:34:15] * zippy has joined #silverstripe
35: [03:35:34] * Tanger quit (Quit: Tanger)
36: [03:35:53] <zippy> You guys use anything special for documentation?
37: [03:39:55] * Hailwood has joined #silverstripe
38: [03:41:26] <Hailwood> Hey folks, so I am adding a field to my Page in getCMSFields that isn't actually on the page, $fields->addFieldToTab('Root.GeoContent', HTMLEditorField::create('Geocontent[AU]', 'Content for Australia'));
39: [03:43:15] <Hailwood> In onBeforeSave I'm grabbing this value and saving it to a dataobject as shown here https://gist.github.com/hailwood/552002caab446f3afcf95b2f3acca201
40: [03:43:21] <zippy> uh huh
41: [03:43:25] <Naveed> camfindlay: here is the image link for the error screenshot http://postimg.org/image/7jdi31pjl/
42: [03:43:48] <Hailwood> This all works well until the content of that field contains an html entity (e.g. if I enter & so it comes through as &amp;)
43: [03:43:48] <camfindlay> I’m more interested in the code that’s generating it.
44: [03:44:21] <Hailwood> at which point the response is truncated from the entity forward
45: [03:44:32] <zippy> Hailwood: The Content filed your saving to is the HTMLText type as well?
46: [03:44:43] <camfindlay> Naveed: have you tried ?flush=1 ?
47: [03:45:16] <zippy> Hailwood: if it's just Text or VarChar then it will be escaped on output
48: [03:45:34] <zippy> If you look in the DB it wont have the &amp; does it
49: [03:45:58] <Hailwood> zippy, correct, but that's happening before it's even hitting where I'm saving it. Just reading from $this->record->{$key} has it truncated
50: [03:46:08] <Hailwood> so on this line https://gist.github.com/hailwood/552002caab446f3afcf95b2f3acca201#file-test-php-L13 $value already has the truncated value
51: [03:46:18] <zippy> Hailwood: what is the field type on the DataObject?
52: [03:47:06] <Naveed> camfidlay: Yes, updated the post, kindly look into it http://www.silverstripe.org/community/forums/data-model-questions/show/111794
53: [03:47:16] <Hailwood> zippy, On the final dataobject it's HTMLText but on the dataobject (page) we're reading the value from there it doesn't exist as it's only populated there by the $form->saveInto($dataObject) that SS does
54: [03:47:35] <Hailwood> but as I mentioned we haven't even hit the final dataobject before it's truncated.
55: [03:48:30] <Hailwood> I have a feeling I need to cast the value on Page even though it isn't saved there, Problem is that it's a value I don't actually know (the html editor fields are added based off another data objects existence)
56: [03:52:08] <Hailwood> zippy, here's a more complete example https://gist.github.com/hailwood/66a1c07bacd9ede6e50624be574f26b7
57: [03:59:06] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
58: [04:07:46] * Tanger has joined #silverstripe
59: [04:12:06] <camfindlay> Naveed: did you as suggested, add the code to the mysite/code/ folder? And did the site work correctly before you added the custom code?
60: [04:16:33] <Naveed> camfidlay: I just installed the new version of SS with CMS and then I was reading the Developer documentation where it is written how you can add the model in your custom site
61: [04:17:37] <Naveed> camfidlay: I am an experienced Symfony developer I think they have pretty good documentation as compared to SS... Its hard to understand the SS architecture :(
62: [04:33:37] * Admonish has joined #silverstripe
63: [04:33:43] <Admonish> Hey yall
64: [04:35:44] <Admonish> I have a certain modal that I need to have unique names. What would be the best way to test for this? I'm thinking of just using the validate function with a get call to the modal with the name from the form to see if it already exists
65: [04:45:55] * BrewNaked has joined #silverstripe
66: [04:46:19] * Firesphere_ has joined #silverstripe
67: [04:50:30] * BrewNaked quit (Client Quit)
68: [04:51:46] * Firesphere_ quit (Ping timeout: 244 seconds)
69: [04:56:27] * ^pH has joined #silverstripe
70: [05:14:13] * spronk has joined #silverstripe
71: [05:14:29] * camfindlay quit (Quit: camfindlay)
72: [05:15:37] * Admonish quit (Quit: ThrashIRC v2.9 sic populo comunicated)
73: [05:16:40] * mahfuz has joined #silverstripe
74: [05:17:16] <Pyromanik> yep, that's basically it Admonish, if you ever read the logs.
75: [05:22:57] * Stomach quit (Ping timeout: 260 seconds)
76: [05:37:38] * Pyromanik quit (Quit: Leaving)
77: [05:43:48] * wmk has joined #silverstripe
78: [05:45:20] * Agilix_ has joined #silverstripe
79: [05:53:49] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
80: [05:57:44] * irogue quit (Ping timeout: 260 seconds)
81: [06:01:42] * micmania1 quit (Quit: micmania1)
82: [06:02:25] <Tanger> Agilix_: Hey mate, end up solving that issue from yesterday?
83: [06:02:59] * cheddam quit (Quit: Textual IRC Client: www.textualapp.com)
84: [06:04:18] * cheddam has joined #silverstripe
85: [06:05:39] * Mike123 has joined #silverstripe
86: [06:17:20] * mahfuz quit (Ping timeout: 250 seconds)
87: [06:20:51] <wmk> morning Tanger ☺/
88: [06:24:56] * Firesphere_ has joined #silverstripe
89: [06:32:13] <Tanger> morning wmk
90: [06:32:16] <Tanger> How’s tricks?
91: [06:32:52] <wmk> treating well, thanks
92: [06:55:16] * arnhoe has joined #silverstripe
93: [07:06:31] * Firesphere_ quit (Ping timeout: 250 seconds)
94: [07:06:56] * Firesphere_ has joined #silverstripe
95: [07:10:57] <Agilix_> Hey Tanger, not yet. Its on my 'must fix this before release but after the big blocks' list :)
96: [07:11:23] <Tanger> Agilix_: Dayum, what a pain :P
97: [07:11:36] * swaiba has joined #silverstripe
98: [07:14:17] <Agilix_> Indeed Tanger :p
99: [07:15:54] <Agilix_> Tanger: I even added a new block yesterday which also has one single image. Works perfect, so no idea why the other one keeps bugging on me :p
100: [07:18:46] <Agilix_> K, question. I got a model (Album), an Albumpage (linked to an album) and a AlbumBlock (Albumblock is used for other pages and shows selected albums). How can I link from the Block to the Page through the model?
101: [07:21:45] * brasileric has joined #silverstripe
102: [07:23:35] <wmk> Agilix_, Albumpage -> block is a 1:1 relation?
103: [07:23:40] <wmk> or a 1:n relation?
104: [07:23:44] <wmk> or a n:1 relation?
105: [07:24:15] <Agilix_> a has_one so I'm guessing that translates to 1:1 (logicwise :))
106: [07:24:43] <wmk> well, you can add $belongs_to on the Block side
107: [07:24:45] <wmk> e.g.
108: [07:25:11] <Agilix_> so on the block or on the model?
109: [07:25:29] <wmk> private static $belongs_to = ['Albumpage' => 'Albumpage']; at the model
110: [07:25:40] <Agilix_> Because on the block seems weird, it can have several albums which are looped over
111: [07:25:42] <Agilix_> Ah k ^^
112: [07:25:43] <wmk> then in the Block ->getAlbum()->Albumpage()
113: [07:26:19] <wmk> See http://www.silverstrip.es/blog/diagram-of-relationships-in-silverstripe/
114: [07:33:28] * cheddam quit (Ping timeout: 252 seconds)
115: [07:35:00] <Agilix_> wmk: should work, having some issues with class not found though. I'll figure it out, thx for the tip :)
116: [07:41:43] <Agilix_> wmk: It just returns the base url?
117: [07:42:43] <wmk> dunno...
118: [07:42:52] <wmk> hard to tell without code
119: [07:44:28] <Agilix_> got it :) needed to do a control and then I could call $Link
120: [07:44:31] * guci0 has joined #silverstripe
121: [07:44:32] <guci0> Hello World!
122: [07:45:07] <Agilix_> Hello guci0
123: [07:49:05] * spronk quit (Quit: I may need a longer sleep timer...)
124: [08:01:59] * slievr has joined #silverstripe
125: [08:11:41] * jackoconnor has joined #silverstripe
126: [08:14:52] * Kolin quit (Read error: Connection reset by peer)
127: [08:16:00] * cheddam has joined #silverstripe
128: [08:18:52] * kinglozzer has joined #silverstripe
129: [08:19:37] * ss32noob has joined #silverstripe
130: [08:40:21] * agent44 has joined #silverstripe
131: [08:49:47] <Agilix_> For Some reason I can not reach my link: http://pastie.org/10785965 Any ideas?
132: [08:50:14] <Agilix_> So the href stays empty for AlbumPage
133: [09:02:43] <kinglozzer> Github :(
134: [09:02:52] <kinglozzer> https://status.github.com/
135: [09:03:16] <kinglozzer> Agilix_:
136: [09:03:22] <kinglozzer> Agilix_: Which version of SilverStripe are you using?
137: [09:03:32] <Agilix_> 3.2
138: [09:03:33] <kinglozzer> <% control %> is deprecated, you should be using <% with %>
139: [09:04:49] <Agilix_> No change kinglozzer
140: [09:06:03] <kinglozzer> Agilix_: How about if you just remove with control/with and do <a href="{$Top.AlbumPage.Link}"> ?
141: [09:06:52] <Agilix_> still same kinglozzer
142: [09:06:54] <Agilix_> :p
143: [09:07:08] <kinglozzer> Is AlbumPageID filled in in the database?
144: [09:10:23] <wmk> Agilix_, fine you got that Link working ;)
145: [09:11:05] <wmk> or not... /me should read whole backlog
146: [09:11:14] <Agilix_> yea wmk now the other one is broken. But as Tanger knows, in this application one block can work and the other can't evne though they are the same :p
147: [09:12:59] <wmk> !debug Agilix_
148: [09:12:59] <ss-helper> Agilix_: Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
149: [09:18:35] * DimiStripe has joined #silverstripe
150: [09:29:54] <Tanger> Agilix_: Yeah, mucho confuso. Might be worth checking out all your modules from scratch again, just to make sure nothing’s been altered accidentally anywhere
151: [09:30:12] * Tanger quit (Quit: Tanger)
152: [09:34:08] * cloph_away is now known as cloph
153: [10:10:08] * swaiba quit (Remote host closed the connection)
154: [10:14:17] * Hailwood_ has joined #silverstripe
155: [10:16:03] <Agilix_> We have items in a vendor folder, due to composer, that are used. But it can't find the classes. Do I need to symlink the vendor map into mysite directory?
156: [10:35:23] <wmk> normally not
157: [10:35:38] <wmk> Agilix_, phpstorm has a nice "find class" functionality, ctrl-N under windows
158: [10:36:35] <wmk> Agilix_, https://www.jetbrains.com/help/phpstorm/2016.1/navigating-to-class-file-or-symbol-by-name.html?origin=old_help
159: [10:36:42] <wmk> dunno if you use this, just in case ;)
160: [10:36:43] <wmk> cu
161: [10:36:49] * wmk quit (Quit: nice to meet you ;))
162: [10:42:32] <Firesphere_> Hello world
163: [10:50:22] * MichalKleiner quit ()
164: [10:52:31] * MichalKleiner has joined #silverstripe
165: [10:52:56] * guci0 quit (Ping timeout: 250 seconds)
166: [10:52:56] * jackoconnor quit (Quit: jackoconnor)
167: [10:57:37] * jackoconnor has joined #silverstripe
168: [11:03:19] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
169: [11:24:03] * Firesphere_ quit (Ping timeout: 240 seconds)
170: [11:56:56] * jackoconnor quit (Quit: jackoconnor)
171: [12:03:28] * jackoconnor has joined #silverstripe
172: [12:04:05] * ShannonPatterson has joined #silverstripe
173: [12:20:26] * UndefinedOffset has joined #silverstripe
174: [12:58:27] * NFG has joined #silverstripe
175: [13:03:19] <NFG> Is it just me? Somewhere around 2012 efforts to create learning resources for SS seem to have evaporated though the framework itself seems to slowly grow in usage. Is that true? If so why do you think that it happened?
176: [13:04:39] * Hailwood_ quit (Remote host closed the connection)
177: [13:04:43] <NFG> DOn't get me wrong. I actually think that the documentation of SS is excellent. I'm talking more about third party community efforts.
178: [13:06:19] <NFG> Oh crumbs. Now have to leave keyboard.
179: [13:12:39] * jackoconnor_ has joined #silverstripe
180: [13:12:39] <ss-helper> jackoconnor_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
181: [13:13:21] * DimiStripe quit (Quit: DimiStripe)
182: [13:13:44] * lucinderella has joined #silverstripe
183: [13:14:30] * veb_ has joined #silverstripe
184: [13:16:18] * NFG quit (Quit: Sleeping now!)
185: [13:16:35] * TRB143_ has joined #silverstripe
186: [13:18:32] * ss32noob quit (Ping timeout: 250 seconds)
187: [13:21:22] * DimiStripe has joined #silverstripe
188: [13:22:04] * jackoconnor quit (*.net *.split)
189: [13:22:04] * agent44 quit (*.net *.split)
190: [13:22:07] * TheVoid quit (*.net *.split)
191: [13:22:07] * TRB143 quit (*.net *.split)
192: [13:22:08] * veb quit (*.net *.split)
193: [13:22:11] * spekulatius quit (*.net *.split)
194: [13:22:18] * BackEndCoder quit (*.net *.split)
195: [13:22:20] * lucinderella is now known as agent44
196: [13:22:20] * veb_ is now known as veb
197: [13:22:21] * jackoconnor_ is now known as jackoconnor
198: [13:22:39] * TheVoid has joined #silverstripe
199: [13:24:05] * BackEndCoder has joined #silverstripe
200: [13:30:23] * spekulatius has joined #silverstripe
201: [13:39:07] * NFG has joined #silverstripe
202: [13:39:46] * Agilix_ quit (Ping timeout: 250 seconds)
203: [13:45:20] <ss-helper> How to use AngularJS on frontend with SilverStripe on the backend? - http://stackoverflow.com/questions/36427933/how-to-use-angularjs-on-frontend-with-silverstripe-on-the-backend
204: [13:51:17] * MichalKleiner quit ()
205: [13:55:54] * NFG quit (Ping timeout: 276 seconds)
206: [13:57:09] * MichalKleiner has joined #silverstripe
207: [14:00:13] * Firesphere_ has joined #silverstripe
208: [14:00:21] <ss-helper> Silverstripe dataobject to display in multiple pages - http://stackoverflow.com/questions/36166812/silverstripe-dataobject-to-display-in-multiple-pages
209: [14:09:27] * Firesphere_ quit (Ping timeout: 250 seconds)
210: [14:28:18] * agent44 quit (Quit: zzz)
211: [14:29:32] * agent44 has joined #silverstripe
212: [14:29:40] * agent44 quit (Client Quit)
213: [14:52:33] * WebDevB has joined #silverstripe
214: [14:52:45] <WebDevB> Hello
215: [14:52:53] <brasileric> hi
216: [14:57:18] <WebDevB> Can anyone help me on this issue... I'll give you a quick overview.
217: [14:57:47] <WebDevB> We have a table which contains variants of a product... eg red, black, green etc.
218: [14:58:08] <WebDevB> each variant as alt text against it which is search able.
219: [14:59:13] <WebDevB> when we query the variants if one products has many variants the search will bring back the same Product ID... is there away we can strip duplicate ID's from the array?
220: [14:59:58] <WebDevB> Can I just use array_unique();
221: [15:01:42] * arnhoe quit ()
222: [15:10:18] * WebDevB quit ()
223: [15:15:22] <ss-helper> Simple form for Model Admin in Silverstripe - http://stackoverflow.com/questions/36430109/simple-form-for-model-admin-in-silverstripe
224: [15:22:43] * jackoconnor quit (Quit: jackoconnor)
225: [15:26:48] * Mike123 quit (Ping timeout: 250 seconds)
226: [15:45:53] * brasileric quit (Remote host closed the connection)
227: [16:06:33] * jackoconnor has joined #silverstripe
228: [16:19:50] * kinglozzer quit ()
229: [16:23:08] * TRB143_ is now known as TRB143
230: [16:36:53] * guci0 has joined #silverstripe
231: [16:41:09] * slievr quit (Ping timeout: 260 seconds)
232: [16:50:12] * BrewNaked has joined #silverstripe
233: [16:52:51] <BrewNaked> Coffee maker fixed. Brain slowly coming back online.
234: [16:54:00] <BrewNaked> Worst Monday morning email to pull up at work: "Staff Notice: Coffee maker broken. Maintenance TBD."
235: [17:02:19] * gelignite has joined #silverstripe
236: [17:12:58] * arnhoe has joined #silverstripe
237: [17:13:02] <BrewNaked> I don't suppose that anyone knows how to turn off the "_versionedstage" option within the FullTextSearch module so that I can make Solr search requests on non-versioned DataObjects?
238: [17:19:09] <BrewNaked> Nevermind... For anyone looking for a solution, https://github.com/silverstripe-labs/silverstripe-fulltextsearch/issues/33
239: [17:37:14] * Naveed quit (Ping timeout: 250 seconds)
240: [17:45:36] <ss-helper> Re: [silverstripe-dev] Security and Login functionality for SS4 - https://groups.google.com/d/msg/silverstripe-dev/308k1-RP-4M/XOy3mxmQAwAJ
241: [17:56:07] * muskie9 has joined #silverstripe
242: [18:13:36] * vanny has joined #silverstripe
243: [18:14:34] <vanny> hi all, howdy muskie
244: [18:14:42] <muskie9> o/
245: [18:15:06] <vanny> how goes it
246: [18:16:59] <muskie9> just got back from a 4 day weekend so can't complain
247: [18:17:04] <vanny> nice
248: [18:17:21] <vanny> im planning a trip to playa later in the year
249: [18:17:33] <muskie9> nice!
250: [18:18:08] <vanny> yeah
251: [18:35:04] <vanny> grrr Forms kick my arse again.
252: [18:37:21] <vanny> If have the same form multiple times on one page it sets the ID I pass to it the same for each form
253: [18:40:10] <muskie9> that sounds correct vanny, even though they shouldn't share ID's... you could try do do something with ->setAttribute() on the form maybe to re-set the ID's
254: [18:41:48] <vanny> I was trying that, an then having problems with the submission part
255: [18:46:23] <muskie9> that's odd, I guess I've never dug into whether the id is used in processing the form... I wouldn't think it would be, but could be wrong
256: [18:49:37] <vanny> I hacked around it a little, not perfect, but it is a one pulldown form, with a hidden productID
257: [19:03:17] * Azure quit (Remote host closed the connection)
258: [19:10:18] * helenclarko has joined #silverstripe
259: [19:11:23] <helenclarko> Hey Team, Quick Question. Is there any way I could make a dataobject check to see if the data it is saving already exists?
260: [19:12:16] <vanny> onBeforeWrite?
261: [19:12:50] <muskie9> helenclarko are you trying to prevent duplicates?
262: [19:13:09] <muskie9> you could do onBeforeWrite or validate on the DataObject, depending on the need
263: [19:13:39] * jackoconnor quit (Quit: jackoconnor)
264: [19:13:44] <helenclarko> muskie9: Prevent duplicates... EXACTLY
265: [19:14:06] <muskie9> I'd use the validate() method on your DO...
266: [19:14:14] * arnhoe quit ()
267: [19:15:18] <helenclarko> I've never really played with validate(). Easy to use?
268: [19:15:27] <vanny> I use that method most of the time :) I've only used the onbeforewrite for when adding data drom the backend
269: [19:15:30] <helenclarko> I'll look into it. Any info
270: [19:15:45] <muskie9> yup, https://github.com/muskie9/silverstripe-pageproofer/blob/1.0/code/PageProoferCode.php#L81
271: [19:16:21] <muskie9> pretty much if(whatever you want to check){ throw the error }
272: [19:18:18] <helenclarko> So can I check against data that already exists?
273: [19:18:28] <helenclarko> Hmmm. Silly question
274: [19:19:12] <muskie9> if(YourObject::get()->filter(array('Field' => 'Value'))->first()) { error }
275: [19:30:06] * Stomach has joined #silverstripe
276: [19:33:02] * toddv has joined #silverstripe
277: [19:34:21] <toddv> Hi all, what is the equivalent of a .env file in SS? And how would you retrieve values from it?
278: [19:39:33] * Firesphere_ has joined #silverstripe
279: [19:41:47] <helenclarko> muskie9: Thank you once again!
280: [19:41:56] <muskie9> glad I could help
281: [19:42:46] <helenclarko> You need to stop saying that and just assume anything you say in irc is helpful haha.
282: [19:42:55] <muskie9> lol
283: [19:44:48] * Firesphere_ quit (Ping timeout: 268 seconds)
284: [19:58:28] * toddv quit (Quit: Page closed)
285: [19:58:49] * toddv has joined #silverstripe
286: [20:27:06] * toddv quit (Ping timeout: 250 seconds)
287: [20:29:29] * ShannonPatterson quit (Quit: Leaving)
288: [20:32:22] <vanny> is there a way, if after a form I do a redirectBack I can make the dropdowns reset to '', as it keeps showing a selected value in there
289: [20:34:10] <muskie9> vanny are you sure it's not redirecting back and setting the value based on a validation/required field error?
290: [20:34:30] <muskie9> unless you're specifically setting the value it shouldn't pre-fill it
291: [20:34:38] <vanny> you could be right
292: [20:34:54] <vanny> becuase when it is preselected it doesnt run the form dofunction
293: [20:37:46] <vanny> how do i get the current URL in page controller, I think it is my form ID coming back to bite me
294: [20:40:24] * UndefinedOffset quit (Quit: Leaving.)
295: [20:41:25] <vanny> hehehe I logged out and back in and it is all fixed :P
296: [20:44:56] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
297: [20:47:28] * muskie9 has joined #silverstripe
298: [20:54:54] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
299: [20:56:41] * Stomach quit (Read error: Connection reset by peer)
300: [20:57:01] * Stomach has joined #silverstripe
301: [21:03:43] * adrexia has joined #silverstripe
302: [21:12:10] * guci0 quit (Ping timeout: 250 seconds)
303: [21:19:40] * Zauberfisch quit (Ping timeout: 264 seconds)
304: [21:21:56] * Zauberfisch has joined #silverstripe
305: [21:33:46] * cheddam has joined #silverstripe
306: [21:37:21] * micmania1 has joined #silverstripe
307: [21:42:07] * Stomach quit (Quit: zzz)
308: [21:44:01] * Stomach has joined #silverstripe
309: [21:44:14] * vanny quit (Ping timeout: 250 seconds)
310: [21:45:14] * muskie9 quit (Read error: Connection reset by peer)
311: [21:56:51] * micmania1 quit (Quit: micmania1)
312: [22:04:10] * helenclarko quit (Ping timeout: 250 seconds)
313: [22:07:26] <Hailwood> Hey folks, does anyone have any idea how to add "dynamic casting" to a DataObject?
314: [22:07:57] <Hailwood> Basically I have fields I don't know their name until runtime, but I need them casted to HTMLtext
315: [22:12:05] * Pyromanik has joined #silverstripe
316: [22:19:28] * micmania1 has joined #silverstripe
317: [22:25:40] * spronk has joined #silverstripe
318: [22:38:02] * Azure has joined #silverstripe
319: [22:47:09] * Naveed has joined #silverstripe
320: [22:56:26] <MichalKleiner> Hailwood: to use where? in templates?
321: [22:58:10] <Hailwood> MichalKleiner, Never mind, go myself sorted, Found a damn SS bug
322: [22:58:23] <MichalKleiner> cool
323: [22:58:27] <MichalKleiner> another question
324: [22:58:53] <MichalKleiner> do you always separate theme and site to different repos or keep it in one (composer, mysite, themes/mytheme) ?
325: [23:58:52] <Stomach> we keep mysite/ and themes/ in one repo

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