Documentation

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 ReadWrite
THEME_CODEColor pallette. Themes description Yes Yes
THEME_CODE_TYPO Font settings. Yes Yes
B24BUTTON_CODESite Widget ID. JS-path to widget is passed. For example, https://cdn.bitrix24.com/crm/loader_2_ibikwq.js Yes Yes
B24BUTTON_COLORWidget color. Can have the following values: site (use main site colour), button (use colour from widget settings) Yes Yes
UP_SHOWShow the "Up" button: Y / N. Yes Yes
Background image
BACKGROUND_USEEnable the background feature use: Y / N Yes Yes
BACKGROUND_PICTUREPath to image. Yes Yes
BACKGROUND_POSITIONAlignment: center (stretch), repeat (tile). Yes Yes
BACKGROUND_COLORBackground color. Yes Yes
Analytics
YACOUNTER_USEUse Yandex.Metrics: Y / N. Yes Yes
YACOUNTER_COUNTERYandex.Metrics counter code. Yes Yes
GACOUNTER_USEUse Google Analytics: Y / N. Yes Yes
GACOUNTER_COUNTERGoogle Analytics counter code. Yes Yes
GACOUNTER_SEND_CLICKSend data on clicks for buttons and links to Google Analytics. Yes Yes
GACOUNTER_SEND_SHOWSend data on views of page blocks to Google Analytics. Yes Yes
GTM_USEUse Google Tag Manager. Yes Yes
GTM_COUNTERGoogle Tag Manager ID. Yes Yes
Maps
GMAP_USEUse Google Maps: Y / N. Yes Yes
GMAP_CODEGoogle Map code. Yes Yes
Site view layout
VIEW_USEUse the view: Y / N. Yes Yes
VIEW_TYPEType 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_USEShow your Robots.txt: Y / N. Yes Yes
ROBOTS_CONTENTRobots.txt content Yes Yes
User HTML and CSS
HEADBLOCK_USEUse: Y / N. Yes Yes
HEADBLOCK_CODEBlock HEAD, arbitrary html. Yes Yes
User CSS
CSSBLOCK_USEUse: Y / N. Yes Yes
CSSBLOCK_CODEArbitrary CSS code. Yes Yes
CSSBLOCK_FILELink to CSS file. Yes Yes


© «Bitrix24», 2001-2024