Site Entity Additional Fields
To read such fields, use the landing.site.getadditionalfields method.
Attention! The field codes, indicated below, must be specified with the key "ADDITIONAL" in the array. This key enables for such field codes to be written in the entity. For example, ADDITIONAL_FIELDS: {UP_SHOW: 'Y'}
.
Field | Description | Read | Write |
---|---|---|---|
THEME_CODE | Color pallette. Themes description | Yes | Yes |
THEME_CODE_TYPO | Font settings. | Yes | Yes |
B24BUTTON_CODE | Site Widget ID. JS-path to widget is passed. For example, https://cdn.bitrix24.com/crm/loader_2_ibikwq.js | Yes | Yes |
B24BUTTON_COLOR | Widget color. Can have the following values: site (use main site colour), button (use colour from widget settings) | Yes | Yes |
UP_SHOW | Show the "Up" button: Y / N. | Yes | Yes |
Background image | |||
BACKGROUND_USE | Enable the background feature use: Y / N | Yes | Yes |
BACKGROUND_PICTURE | Path to image. | Yes | Yes |
BACKGROUND_POSITION | Alignment: center (stretch), repeat (tile). | Yes | Yes |
BACKGROUND_COLOR | Background color. | Yes | Yes |
Analytics | |||
YACOUNTER_USE | Use Yandex.Metrics: Y / N. | Yes | Yes |
YACOUNTER_COUNTER | Yandex.Metrics counter code. | Yes | Yes |
GACOUNTER_USE | Use Google Analytics: Y / N. | Yes | Yes |
GACOUNTER_COUNTER | Google Analytics counter code. | Yes | Yes |
GACOUNTER_SEND_CLICK | Send data on clicks for buttons and links to Google Analytics. | Yes | Yes |
GACOUNTER_SEND_SHOW | Send data on views of page blocks to Google Analytics. | Yes | Yes |
GTM_USE | Use Google Tag Manager. | Yes | Yes |
GTM_COUNTER | Google Tag Manager ID. | Yes | Yes |
Maps | |||
GMAP_USE | Use Google Maps: Y / N. | Yes | Yes |
GMAP_CODE | Google Map code. | Yes | Yes |
Site view layout | |||
VIEW_USE | Use the view: Y / N. | Yes | Yes |
VIEW_TYPE | Type of the view presentation: no (without a view), ltr (margin on the upper and lateral sides), all (margin on all sides). | Yes | Yes |
Robots.txt | |||
ROBOTS_USE | Show your Robots.txt: Y / N. | Yes | Yes |
ROBOTS_CONTENT | Robots.txt content | Yes | Yes |
User HTML and CSS | |||
HEADBLOCK_USE | Use: Y / N. | Yes | Yes |
HEADBLOCK_CODE | Block HEAD, arbitrary html. | Yes | Yes |
User CSS | |||
CSSBLOCK_USE | Use: Y / N. | Yes | Yes |
CSSBLOCK_CODE | Arbitrary CSS code. | Yes | Yes |
CSSBLOCK_FILE | Link to CSS file. | Yes | Yes |
© «Bitrix24», 2001-2024