1 <?php
2
3 class RealtySiteConfigDecorator extends SiteConfigDecorator {
4
5 function () {
6 return array(
7 'db' => array(
8 'YRLFeed' => 'Varchar(255)',
9 ),
10 );
11 }
12
13 public function updateCMSFields(FieldSet &$fields) {
14
15 $tab = SiteConfigDecorator::get_config_tab($fields, 'EstateCatalog');
16
17 $tab->push(new TextField('YRLFeed', 'Ссылка на YRL фид'));
18 }
19 }
[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the
Silverstripe Forums to ask development related questions.
-